package com.gopay.common.domain.bank;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

import com.gopay.common.domain.BaseEntity;

/**
 * 银行订单操作日志表
 * @author lizheng
 *
 */
@Entity
@Table(name = "BIS_BANK_ORDER_DEAL_LOG")
public class BankOrderDealLog extends BaseEntity {

    /**
     * 
     */
    private static final long serialVersionUID = -8921630562405077441L;

    @Id
	@GeneratedValue(generator = "uuid")
	@GenericGenerator(name = "uuid", strategy = "uuid")
	@Column(name = "ID")
	private String id;
    /**
	 * 银行订单号
	 */
	@Column(name = "GOPAY_ORDER_ID")
	private String gopayOrderId;

	@Column(name = "BEFORE_SNAPSHOT")
	private String beforeShapshot;
	
	@Column(name = "DEAL_TYPE")
	private String dealType;

	@Column(name = "created_ts")
	private Date createdTs;

	@Column(name = "last_upd_ts")
	private Date lastUpdTs;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getGopayOrderId() {
		return gopayOrderId;
	}

	public void setGopayOrderId(String gopayOrderId) {
		this.gopayOrderId = gopayOrderId;
	}

	public String getBeforeShapshot() {
		return beforeShapshot;
	}

	public void setBeforeShapshot(String beforeShapshot) {
		this.beforeShapshot = beforeShapshot;
	}

	public String getDealType() {
		return dealType;
	}

	public void setDealType(String dealType) {
		this.dealType = dealType;
	}

	public Date getCreatedTs() {
		return createdTs;
	}

	public void setCreatedTs(Date createdTs) {
		this.createdTs = createdTs;
	}

	public Date getLastUpdTs() {
		return lastUpdTs;
	}

	public void setLastUpdTs(Date lastUpdTs) {
		this.lastUpdTs = lastUpdTs;
	}

}
